﻿using System;
using System.Collections.Generic;
using System.Text;
using Brc_PaaS.Common.Model.RabbitMq;
using Brc_PaaS.Common.Model.Basic;

namespace Brc_PaaS.Core.RabbitMq
{
    /// <summary>
    /// Fanout类型的交换机客户端
    /// </summary>
    public interface IRabbitMqClient
    {
        /// <summary>
        /// 发送消息
        /// </summary>
        /// <param name="entity"></param>
        /// <param name="eventMessage"></param>
        BaseResponseModel SendMessage(RabbitMQSettingEntity entity, EventMessage eventMessage,string queueName);
    }
}
